Statement input fields support a variety of value types. A default value type is selected for each field, but you can change the value type. This can help you create more dynamic statements that use values from variables or datasheets, or values returned by calculations or functions.
To use a different value type, click the button and select a type from the list.
| Value type | Description | Field types |
|---|---|---|
| Text | Interprets the entered value as a literal string. | Strings, file paths |
| Value | Interprets the entered value as a variable or math expression. | Integer, float |
| Constant | Uses a QA Wizard Pro constant selected from a drop-down list. | QA Wizard Pro constant (e.g., control property name, True/False) |
| Key Input | Uses keyboard input. | Key input for KeyPress, KeyDown, and KeyUp statements |
| Expression | Interprets the entered value as a variable or math expression. The returned value is used as the input value. | All input fields |
| Datasheet | Uses a value in the current row of the associated datasheet based on the selected column. | All input fields |
| Variable | Uses a selected script variable or repository variable defined for the application. | All input fields |
| Function | Uses the value returned from a function. Click Edit in the corresponding field to add a function. See Using function results as statement arguments. | All input fields |